﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Sell.Domain
{
     public class Contact
    {
        [Key]
        public int ?ContactId { get; set; }
        /// <summary>
        /// 联系人
        /// Contact person
        /// </summary>
        public string ?ContactPerson { get; set; }

        /// <summary>
        /// 客户地址
        /// Customer address
        /// </summary>
        public string ?Address { get; set; }

        /// <summary>
        /// 联系人电话
        /// Contact person's phone number
        /// </summary>
        public string ?ContactPhone { get; set; }

        /// <summary>
        /// 创建时间
        /// Creation time
        /// </summary>
        public DateTime ?CreationTime { get; set; }
        public bool ?IsDelete { get; set; }
        /// <summary>
        /// 客户编号，使用 int 类型
        /// Customer ID, using int type
        /// </summary>
        public int ?CustomerId { get; set; }
        public virtual Customer Customer { get; set; }
    }
}
